<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h1>你好呀！</h1>

<div th:title="${thy}">im.thy</div>

<h1 th:each="itme:${list}" th:text="${itme}"></h1>
</body>
</html>